package core;

public class NumberConverter {

	public static final Double MAX_VALUE = 99999999d;
	public static final Double MIN_VALUE = -99999999d;
	boolean isNew = false;
	String textValue = null;
	Double value = null;
	
	
	public NumberConverter() {
		isNew = true;
	}

	public Double getValue() {
		value = Double.valueOf(textValue);
		isNew = true;
		return value;
	}

	public void addNewSymbol(String symbol) {
		if (isNew)
		{
			textValue = "0";
		}
	}
	
	
	

}
